package com.javacore;

import java.time.LocalDate;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

public class ClONE {
    public static void main(String[] args) throws CloneNotSupportedException {

        Employee employee = new Employee(123.3,2022,4,12,"luolin");
        Employee clone = employee.clone();

        clone.setName("ljava");

        employee.setHireday(LocalDate.now());

        System.out.println(clone);

        System.out.println(employee);

    }


}
